package cn.wu.reggie.service;

import cn.wu.reggie.common.Page;
import cn.wu.reggie.common.R;
import cn.wu.reggie.dto.DishDto;
import cn.wu.reggie.entity.Dish;

import java.util.List;

public interface DishService {
    R findByPage(Integer pageNum, Integer pageSize,String name);

    R save(DishDto dishDto);

    R findById(Long id);

    R update(DishDto dishDto);

    R findByCategoryId(Long categoryId);

//    R checkStatus0(List<Long> ids);
}
